<%@ page import="bean.Student" %><%--
  Created by IntelliJ IDEA.
  User: dailyblue
  Date: 2025/7/15
  Time: 17:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
4 ${4} admin ${'admin'}
${6+4}
<hr/>
<%
    Student stu = new Student();
    stu.setId(1);
    stu.setName("李四");
    stu.setAge(19);
    stu.setGender('女');
    session.setAttribute("A", stu);
%>
获取到对象：${A}
获取到对象的属性：${A.name}....${A.id}.....${A.gender}.....${A.age}
</body>
</html>
